package cn.ee.dfs.webservice.entity;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Random;

/**
 * Description: 订单信息
 * Created by TWJ on 2019/10/15 0015 0025 下午 2:38 .
 */
public class OrderInfo {
//    订单编号、订单类型、产品型号、零件号、零件名称、交付数量、
// 计划开始时间、计划完成时间、订单下达时间、订单状态、订单承接单位、入库地址等。

    private String orderId ;
    private String type ;
    private String productType ;
    private String partId ;
    private String partName ;
    private String deliverCount ;
    private String startTime ;
    private String endTime ;
    private String orderStartTime ;
    private String orderStatus ;
    private String orderUnit ;
    private String inComeAddress ;

    public OrderInfo() {
    }

    public OrderInfo(String orderId, String type, String productType, String partId, String partName,
                     String deliverCount, String startTime, String endTime, String orderStartTime,
                     String orderStatus, String orderUnit, String inComeAddress) {
        this.orderId = orderId;
        this.type = type;
        this.productType = productType;
        this.partId = partId;
        this.partName = partName;
        this.deliverCount = deliverCount;
        this.startTime = startTime;
        this.endTime = endTime;
        this.orderStartTime = orderStartTime;
        this.orderStatus = orderStatus;
        this.orderUnit = orderUnit;
        this.inComeAddress = inComeAddress;


          }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getPartId() {
        return partId;
    }

    public void setPartId(String partId) {
        this.partId = partId;
    }

    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getDeliverCount() {
        return deliverCount;
    }

    public void setDeliverCount(String deliverCount) {
        this.deliverCount = deliverCount;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getOrderStartTime() {
        return orderStartTime;
    }

    public void setOrderStartTime(String orderStartTime) {
        this.orderStartTime = orderStartTime;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderUnit() {
        return orderUnit;
    }

    public void setOrderUnit(String orderUnit) {
        this.orderUnit = orderUnit;
    }

    public String getInComeAddress() {
        return inComeAddress;
    }

    public void setInComeAddress(String inComeAddress) {
        this.inComeAddress = inComeAddress;
    }

    @Override
    public String toString() {
        return "OrderInfo{" +
                "orderId='" + orderId + '\'' +
                ", type='" + type + '\'' +
                ", productType='" + productType + '\'' +
                ", partId='" + partId + '\'' +
                ", partName='" + partName + '\'' +
                ", deliverCount='" + deliverCount + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", orderStartTime='" + orderStartTime + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                ", orderUnit='" + orderUnit + '\'' +
                ", inComeAddress='" + inComeAddress + '\'' +
                '}';
    }
}
